package org.example.service;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Service;

/**
 * @author shiqi
 * @version 1.0.0
 * @ClassName TestServiceImpl.java
 * @Description
 * @createTime 2024-07-23
 */
@Service
@RefreshScope
public class TestServiceImpl implements TestService{

    @Value("${test}")
    private String test;

    public void testRefresh() {
        System.out.println(test);
    }
}
